package cloud.maque.module.system.service;

import cloud.maque.module.system.entity.SysRolePrivilege;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface RolePrivilegeService extends IService<SysRolePrivilege> {

    List<SysRolePrivilege> GetList(SysRolePrivilege data);

    SysRolePrivilege SaveRolePrivilege(SysRolePrivilege data);

    Boolean DeleteByRoleId(String roleId);

    Boolean DeleteByPrivilegeId(String PrivilegeId);
}
